package com.hyzh.latte;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@MapperScan({"com.hyzh.latte.*.repository.mapper", "com.hyzh.latte.hj.repository.mapper", "com.hyzh.latte.sandtable.mapper"})
@EnableScheduling
@Slf4j
public class NezhaApplication {
    public static void main(String[] args) {
        try{
            SpringApplication.run(NezhaApplication.class, args);
        }catch (Exception e){
            log.error("Start NezhaApplication error", e);
        }
    }
}
